package DDE.Palette;

import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.GridLayout;
import javax.swing.JButton;

public class Palette {

	private JFrame frame;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					Palette window = new Palette();
					window.frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the application.
	 */
	public Palette() {
		initialize();
	}

	/**
	 * Initialize the contents of the frame.
	 */
	private void initialize() {
		frame = new JFrame();
		frame.setBounds(100, 100, 450, 300);
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		
		JPanel pal = new JPanel();
		frame.getContentPane().add(pal, BorderLayout.WEST);
		pal.setLayout(new GridLayout(20, 20, 20, 20));
		pal.add(new JButton(""));
		pal.add(new JButton(""));
		pal.add(new JButton(""));
		pal.add(new JButton(""));		
		
		JPanel courante = new JPanel();
		frame.getContentPane().add(courante, BorderLayout.EAST);
		courante.add(new JButton(""));
		
		JPanel modif = new JPanel();
		frame.getContentPane().add(modif, BorderLayout.SOUTH);
	}

}
